home *** CD-ROM | disk | FTP | other *** search
/ PC go! 2008 April / PCgo 2008-04 (DVD).iso / interface / contents / demoversionen_3846 / 13664 / files / Data1.cab / querydialog.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-16  |  1.7 KB  |  61 lines

  1. /******************************************************************/
  2. /*                                                                */
  3. /*                      TurboCAD for Windows                      */
  4. /*                   Copyright (c) 1993 - 2001                    */
  5. /*             International Microcomputer Software, Inc.         */
  6. /*                            (IMSI)                              */
  7. /*                      All rights reserved.                      */
  8. /*                                                                */
  9. /******************************************************************/
  10.  
  11. // QueryDialog.cpp : implementation file
  12. //
  13.  
  14. #include "stdafx.h"
  15. #include "ltsample.h"
  16. #include "QueryDialog.h"
  17. #include "QueryHelpDlg.h"
  18.  
  19. #ifdef _DEBUG
  20. #define new DEBUG_NEW
  21. #undef THIS_FILE
  22. static char THIS_FILE[] = __FILE__;
  23. #endif
  24.  
  25. /////////////////////////////////////////////////////////////////////////////
  26. // CQueryDialog dialog
  27.  
  28.  
  29. CQueryDialog::CQueryDialog(CWnd* pParent /*=NULL*/)
  30.     : CDialog(CQueryDialog::IDD, pParent)
  31. {
  32.     //{{AFX_DATA_INIT(CQueryDialog)
  33.     m_cstrQueryString = _T("");
  34.     //}}AFX_DATA_INIT
  35. }
  36.  
  37.  
  38. void CQueryDialog::DoDataExchange(CDataExchange* pDX)
  39. {
  40.     CDialog::DoDataExchange(pDX);
  41.     //{{AFX_DATA_MAP(CQueryDialog)
  42.     DDX_Text(pDX, IDC_EDIT_QUERYSTRING, m_cstrQueryString);
  43.     //}}AFX_DATA_MAP
  44. }
  45.  
  46.  
  47. BEGIN_MESSAGE_MAP(CQueryDialog, CDialog)
  48.     //{{AFX_MSG_MAP(CQueryDialog)
  49.     ON_BN_CLICKED(IDC_HELPQUERY, OnHelpquery)
  50.     //}}AFX_MSG_MAP
  51. END_MESSAGE_MAP()
  52.  
  53. /////////////////////////////////////////////////////////////////////////////
  54. // CQueryDialog message handlers
  55.  
  56. void CQueryDialog::OnHelpquery() 
  57. {
  58.     CQueryHelpDlg dlgHlp(this);
  59.     dlgHlp.DoModal();
  60. }
  61.